package one.bugu.zookeeper.rpc.framework.service;

import one.bugu.zookeeper.rpc.framework.service.zookeeper.IRegisterCenterProvider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Created Date 2019/2/11
 * Time: 14:31
 * Description: 服务注册
 */
public class ServiceRegister {

    private Logger logger = LoggerFactory.getLogger(ServiceRegister.class);


    public IRegisterCenterProvider registerCenterProvider;

    public ServiceRegister(IRegisterCenterProvider registerCenterProvider) {
        this.registerCenterProvider = registerCenterProvider;
        registerCenterProvider.updateProvider();
    }



}
